#!/bin/bash

if [ -z "$RESTQL_HOME" ]; then
  RESTQL_HOME=.
fi

for j in `ls $RESTQL_HOME/lib`; do
  RESTQL_CP="$RESTQL_HOME/lib/$j:$RESTQL_CP"
done

CMD="java -cp $RESTQL_CP org.restql.Launcher"
echo $CMD
eval $CMD
